package Judge.JudgeMainFrame.JudgeMainFrameView;

import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;

import Team.TeamMainFrame.TeamMainFrameView.*;

public class TestRunsPane extends JPanel
{
    public TestRunsPane()
    {
    	this.setLayout(null);
    	
        this.problemPane = new ProblemPane();
        this.languagePane = new LanguagePane();
        this.filePathPane =  new FilePathPane();
        
        this.problemPane.setBounds(100, 100, 400, 400);
        this.languagePane.setBounds(0, 0, 100, 500);
        this.filePathPane.setBounds(50, 50, 700, 700);
        
        
        filePathPane.setLayout(null);
		languagePane.setLayout(null);
		problemPane.setLayout(null);
		filePathPane.setBounds(31, 242, 614, 64);
		languagePane.setBounds(417, 37, 228, 121);
		problemPane.setBounds(31, 37, 196, 121);
		setLayout(null);
		setSize(864, 476);
		add(filePathPane);
		add(languagePane);
		add(problemPane);
		
		final JButton testButton = new JButton();
		testButton.setText("Test");
		testButton.setBounds(156, 394, 99, 23);
		this.add(testButton);

		final JButton selectButton = new JButton();
		selectButton.setText("Select");
		selectButton.setBounds(663, 265, 99, 23);
		add(selectButton);

		final JButton submitButton = new JButton();
		submitButton.setText("Submit");
		submitButton.setBounds(322, 394, 99, 23);
		add(submitButton);

		final JLabel selectproblemLabel = new JLabel();
		selectproblemLabel.setText("SelectProblem");
		selectproblemLabel.setBounds(10, 49, 93, 15);
		problemPane.add(selectproblemLabel);

		final JLabel selectlanguageLabel = new JLabel();
		selectlanguageLabel.setText("SelectLanguage");
		selectlanguageLabel.setBounds(10, 53, 102, 15);
		languagePane.add(selectlanguageLabel);

		final JLabel filePathLabel = new JLabel();
		filePathLabel.setText("null");
		filePathLabel.setBounds(10, 39, 60, 15);
		filePathPane.add(filePathLabel);

		problemComboBox = new JComboBox();
		problemComboBox.setBounds(0, 100, 196, 21);
		problemPane.add(problemComboBox);

		languageComboBox = new JComboBox();
		languageComboBox.setBounds(0, 100, 228, 21);
		languagePane.add(languageComboBox);
        
        this.add(this.problemPane);
        this.add(this.languagePane);
        this.add(this.filePathPane);
    }
    
    public ProblemPane problemPane;
    public LanguagePane languagePane;
    public FilePathPane filePathPane;
    
    public JComboBox problemComboBox;
    public JComboBox languageComboBox;
}
